package ysu.sxm.ptjc.Dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import ysu.sxm.ptjc.pojo.DefectTypeInfo;
import ysu.sxm.ptjc.Domin.baseInput;

import java.util.List;

@Repository
@Mapper
public interface DefectTypeInfoDao {
    List<DefectTypeInfo> getByBaseInput(@Param("b") baseInput b);
    boolean insert(DefectTypeInfo defectTypeInfo);
}
